/* enum */
import ComponentNameEnum from '@model/enum/ComponentNameEnum'
/* vue */
// @ts-ignore
import { ComponentInstance, ComponentRenderProxy, defineComponent } from 'vue'
import { CommonComponentInstance } from '@model/VC'

interface ChartsSearchRowItemSetupState {
  
}

enum ChartsSearchRowItemEventEnum {
  
}

export type ChartsSearchRowItemProps = {
  label: string;
}
export type ChartsSearchRowItemInstance = ComponentInstance & ChartsSearchRowItemSetupState
export type ChartsSearchRowItemVM = ComponentRenderProxy<ChartsSearchRowItemProps> & CommonComponentInstance

export default defineComponent<ChartsSearchRowItemProps, ChartsSearchRowItemSetupState>({
  name: ComponentNameEnum.ChartsSearchRowItem,
  props: {
    label: {
      type: String,
      default: ''
    }
  },
  setup(props: ChartsSearchRowItemProps, { emit }) {
    return {
      
    }
  },
  render() {
    return (
      <div class="charts-search-select">
        {this.label && (
          <span>{ this.label }：</span>
        )}
        { this.$slots.default }
      </div>
    )
  }
})
